package com.mkbk.service;

import com.mkbk.model.Supply;

import java.util.List;

public interface SupplyService {
    // 获取所有的供应商
    List<Supply> getAllSupply(Supply supply);

    // 添加供应商
    void addSupply(Supply supply);

    // 删除供应商
    void deleteSupplyById(Integer id);

    // 修改供应商
    void updateSupplyById(Supply supply);

    //分页查询
    List<Supply> getAllSupplyByPage(Supply supply, int current, int pageSize);
}
